GUI Help > Create > createWebBrowser

createWebBrowser
int handle=createWebBrowser(int x, int y, int width, int height, handle parent)

Description:
Creates a web browser gadget which can be used to view web pages.

IMPORANT: In order to use the web browser gadget, you must copy the gui2_web.dll library which came with BlueGUI v2 into the same folder as your application. If you do not do this web browser gadgets cannot be created. If you are not using web browser gadgets in your application you do not need to do this.

Return Value:
Handle to the new gadget.

Parameters:
x X position of new gadget
y Y position of new gadget
width Width of new gadget in pixels
height Height of new gadget in pixels
parent Specifies the parent of the new gadget. If 0, this is the main window.
Remarks:


See Also:


Example:
(Note: You will need to include the GUI constants file for this example to work)